
package br.infotec.deptmusica.util;

import br.infotec.deptmusica.diasemana.DiaSemanaDAO;
import br.infotec.deptmusica.diasemana.DiaSemanaHibernateDAO;


public class DAOFactory {

	public static DiaSemanaDAO criaConexaoDiaSemana(){
		DiaSemanaHibernateDAO diaSemana = new DiaSemanaHibernateDAO();
		diaSemana.setSession(HibernateUtil.getSessionFactory().getCurrentSession());
		return diaSemana;
	}

}